﻿@model ProductOverviewModel
@using Nop.Core
@using Nop.Core.Domain.Orders
@using Nop.Core.Domain.Tax
@using Nop.Core.Infrastructure
@using Nop.Web.Models.Catalog;

<div class="hz-wrapper">
    <div class="product-box hz-product-box" data-productid="@Model.Id">
        <div class="hz-product-item">
            <div class="hz-picture">
                <a href="@Url.RouteUrl("Product", new { SeName = Model.SeName })" title="@Model.DefaultPictureModel.Title">
                    <img alt="@Model.DefaultPictureModel.AlternateText" src="@Model.DefaultPictureModel.ImageUrl" title="@Model.DefaultPictureModel.Title" />
                </a>
            </div>
            <div class=" prices">
                @if (!String.IsNullOrEmpty(Model.ProductPrice.OldPrice))
                {
                    <span class="text-muted"><del>@Model.ProductPrice.OldPrice</del></span>
                }
                <span class="text-danger">@Model.ProductPrice.Price</span>
            </div>
            <div class="details">
                <h2 class="product-title">
                    <a href="@Url.RouteUrl("Product", new { SeName = Model.SeName })">@Model.Name</a>
                </h2>
                <div class="product-rating-box" title="1 review(s)">
                    <div class="rating">
                        <div style="width: 100%">
                        </div>
                    </div>
                </div>
                <div class="buttons">
                    <a href="@Url.RouteUrl("Product", new { SeName = Model.SeName })" title="@Model.DefaultPictureModel.Title" class="btn btn-danger">@T("products.details")</a>
                </div>
            </div>
        </div>
    </div>
</div>

